#pragma once
#include"HashTable.h"

namespace myspace
{
	template<class K>
	class unordered_set
	{
		struct SetKeyOfT
		{
			const K& operator()(const K& key)
			{
				return key;
			}
		};
	public:
		typedef typename hash_bucket::HashTable<K, K, SetKeyOfT> _ht;
		bool insert(const K& key)
		{
			return _ht, insert(key);
		}
	private:
		hash_bucket::HashTable<K,K,SetKeyOfT> _ht;
	};

	void test_set()
	{
		unordered_set<int> hashset;
		hashset.insert(1);
	}
}